angular.module('app.ser.information', []).factory('InformationService', ['$http', function($http) {
    var _svc = {};

    //查找
    _svc.infoList = function(data) {
        return __svc_get($http, dbInformationURL + 'info', data);
    };
    
    //购买信息
    _svc.purchaseHistoryList = function(data) {
        return __svc_get($http, dbInformationURL + 'purchaseHistory', data);
    };

    //修改
    _svc.modify = function(data) {
        return __svc_post($http, dbInformationURL + 'edit', data);
    };

    return _svc;
}]);
